package com.ruoyi.business.service;

import com.ruoyi.bizsys.domain.BankAccount;
import com.ruoyi.bizsys.domain.RealNameAuth;
import com.ruoyi.bizsys.vo.BankAccountVo;
import com.ruoyi.business.common.constant.KycApiEnum;

import java.util.List;

public interface IAppBankAccountService {

    void insertBankAccount(BankAccount bankAccount);

    int selectCountByUserId(BankAccount account);

    int updateBankAccountIsDefault(BankAccount account);

    List<BankAccountVo> selectBankAccountListByUserId(BankAccount bankAccount);

    boolean bVNMatchVerify(String account, String bvn, String bankCode,String userId);

    /**
     * Account 与 RealName-bvn 是否一致
     * @param sourceFullName
     * @param sourceAccount
     * @param realNameAuth
     * @return
     */
    boolean accountVerify(String sourceFullName, String sourceAccount, String bankCode, RealNameAuth realNameAuth);

    void appendAccount(String userId);
}
